﻿<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <link href="/css/main.css" rel="stylesheet" />
        <link rel="stylesheet" href="/css/portal.css" type="text/css"/>
        <title>内容类别</title>
    </head>

	<body>
		<div class="main-container">
            <div class="breadcrumbs">
                <a class="back">
                    <i class="skinicon skin-back"></i>
                    <span>返回列表页</span>
                </a>
                <a>
                    <i class="skinicon skin-home"></i>
                    <span>首页</span>
                </a>
                <i class="skinicon skin-arrow-right"></i>
                <a>
                    <span>内容类别</span>
                </a>
            </div>

            <div id="control-btns" class="btn-group" role="group" aria-label="...">
                <button type="button" class="btn btn-oa"><i class="skinicon skin-plus"></i>新增</button>
                <button type="button" class="btn btn-oa"><i class="skinicon skin-save"></i>保存</button>
                <button type="button" class="btn btn-oa check-all"><i class="skinicon skin-select-all"></i>全选</button>
                <button type="button" class="btn btn-oa"><i class="skinicon skin-delete"></i>删除</button>
            </div>

            <table class="table table-striped">
                <tr>
                    <th width="6%" class="text-center">选择</th>
                    <th align="left" width="6%">编号</th>
                    <th align="left">类别名称</th>
                    <th align="left" width="12%">调用别名</th>
                    <th align="left" width="12%">排序</th>
                    <th width="12%" class="text-center">操作</th>
                </tr>

                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>3</td>
                    <td>
                        <i class="skinicon skin-folder-open"></i>
                        <a>互联网媒体</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="99"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>6</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>人物动态</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="99"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>7</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>电子商务</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="100"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>8</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>传闻爆料</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="101"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>

                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>4</td>
                    <td>
                        <i class="skinicon skin-folder-open"></i>
                        <a>科技财经</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="100"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>9</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>IT业界</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="99"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>10</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>经济民生</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="100"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>11</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>数码产品</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="101"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>

                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>5</td>
                    <td>
                        <i class="skinicon skin-folder-open"></i>
                        <a>汽车房产</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="99"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>12</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>新车行情</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="99"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
                <tr>
                    <td class="text-center">
                        <input type="checkbox"></input>
                    </td>
                    <td>13</td>
                    <td>
                        <i class="skinicon skin-folder-line"></i>
                        <i class="skinicon skin-folder-open"></i>
                        <a>房产动态</a>
                    </td>
                    <td></td>
                    <td>
                        <input type="text" class="form-control input-oa input-oa-small" name="title" value="100"/>
                    </td>
                    <td class="text-center">
                        <a>添加子类</a>
                        <a>修改</a>
                    </td>
                </tr>
            </table>

		</div>
	</body>
<script src="/common-js/WdatePicker/WdatePicker.js"></script>
<script src="/common-js/jquery/jquery.min.js" type="text/javascript"></script>
<script src="/common-js/bootstrap/bootstrap.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/common-js/bootstrap/bootstrap-switch.min.js"></script>
<script type="text/javascript" src="/common-js/publicFunction.js"></script>
<script type="text/javascript" src="/common-js/tab.js"></script>
<script src="/js/layer/layer.js" type="text/javascript"></script>
<script type="text/javascript" src="/js/main.js"></script>
    <script>
        $(function() {
            $('.check-all').click(function() {
                if($(this).html() === '<i class="skinicon skin-select-all"></i>全选') {
                    $('input[type="checkbox"]').each(function () {
                        $(this).attr("checked", true);
                    });
                    $(this).html('<i class="skinicon skin-select-all"></i>取消');
                } else {
                    $('input[type="checkbox"]').each(function () {
                        $(this).attr("checked", false);
                    });
                    $(this).html('<i class="skinicon skin-select-all"></i>全选');
                }
            });
        });
    </script>
</html>